<!DOCTYPE html>

<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles-extras" prefix="tilesx" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>

<html>

<head>
  <title><spring:message code="product.title"/></title>

  <!-- Application Style Sheets -->
  <link href="pages/style/detail.css" rel="stylesheet" type="text/css"/>
  <link href="pages/style/general.css" rel="stylesheet" type="text/css"/>
  <link href="pages/style/mam.css" rel="stylesheet" type="text/css"/>
  <link href="pages/style/admin.css" rel="stylesheet" type="text/css"/>
  <link href="pages/style/tabBar.css" rel="stylesheet" type="text/css"/>
  <link href="pages/style/tabbedFilter.css" rel="stylesheet" type="text/css"/>
  <link href="pages/style/titleBar.css" rel="stylesheet" type="text/css"/>

  <!-- JQuery -->
  <link href="pages/jquery/jquery.ui.all.css" rel="stylesheet" type="text/css"/>
  <link href="pages/jquery/jquery-ui.css" rel="stylesheet" type="text/css"/>
  <link href="pages/jquery/jquery.ui.theme.css" rel="stylesheet" type="text/css"/>


  <script type="text/javascript" src="pages/jquery/jquery-1.11.0.min.js"></script>
  <script type="text/javascript" src="pages/jquery/jquery-ui.min.js"></script>
  <script type="text/javascript" src="pages/jquery/jquery.form.js"></script>
  <script type="text/javascript" src="pages/jquery/jquery.ui.core.js"></script>
  <script type="text/javascript" src="pages/jquery/jquery.ui.slider.js"></script>

  <!-- Application Javascripts -->
  <script type="text/javascript" src="pages/javascript/button.js"></script>
  <script type="text/javascript" src="pages/javascript/clock.js"></script>
  <script type="text/javascript" src="pages/javascript/navigation.js"></script>
  <script type="text/javascript" src="pages/javascript/detail.js"></script>
  <script type="text/javascript" src="pages/javascript/admin.js"></script>
  <script type="text/javascript" src="pages/javascript/general.js"></script>


</head>

<script type="text/javascript">
var hovering = false;
$(document).ready(function(){
  calculateCurrentDate();
  bindTabBarFunctions();
});
</script>

<body style="background-color:#EFEFEF;">

<tiles:insertAttribute name="title"/>
<tiles:insertAttribute name="tabBar"/>
<tilesx:useAttribute name="portal_name" scope="session"/>

<input type="hidden" id="tabUrlClicked" value=""/>

<div id="overall" style="width:100%;position:absolute;top:65px;" align="center">

  <input type="hidden" id="changeCount" value="0"/>
  <input type="hidden" id="errorCount" value="0"/>

  <div style="width:800px;background-color:white;margin-left:auto;margin-right:auto;"/>

    <c:set var="portalName" value="${portal_name}" scope="session"/>
    <jsp:include page="/pages/jsp/tiles/general/portalHeader.jsp"/>
    <tiles:insertAttribute name="content"/>
    <jsp:include page="/pages/jsp/tiles/general/portalFooter.jsp"/>

  </div>

</div>

</body>
</html>
